<!--{template common/header}-->
<!-- main body template-->
<div data-role="content" class="ui-content" role="main">
		<div class="content-primary">	
<ul data-role="listview" data-inset="true" class=" ui-listview  ui-listview-inset ui-corner-all ui-shadow " data-theme="b">
<!-- main body template-->
<li class="ui-li ui-li-static ui-body-c"><div class="box"><a href="{if $forcefid}forum.php?mod=forumdisplay{$forcefid}{else}forum.php{/if}" title="{lang return_forum}">{lang return_forum}</a> </div></li>
<li class="ui-li ui-li-static ui-body-c"><div class="box"><a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=forum" <!--{if $_G[gp_type] == 'forum'}-->class="xw1"<!--{/if}-->>{lang my_favorites_forums}</a> <span class="pipe">|</span> <a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=thread" <!--{if $_G[gp_type] == 'thread'}-->class="xw1"<!--{/if}-->>{lang my_favorites_thread}</a></div></li>
<li class="ui-li ui-li-static ui-body-c">
	<div class="bm_h">
    	<!--{if $_G[gp_type] == 'forum'}-->{lang my_favorites_forums}<!--{elseif $_G[gp_type] == 'thread'}-->{lang my_favorites_thread}<!--{else}-->{lang title_memcp_favorite}<!--{/if}-->
    </div>
 </li>
    <!--{if $list}-->
    	
        <!--{loop $list $k $value}-->
<li class="ui-li ui-li-static ui-body-c">            <div class="bm_c">
                <a href="$value[url]" target="_blank">$value[title]</a>
                
                <!--{if $value[description]}-->
					<div>$value[description]</div>
                <!--{/if}--><div><!--{date($value[dateline], 'u')}--></div> 
                <a class="o" id="a_delete_$k" href="home.php?mod=spacecp&ac=favorite&op=delete&favid=$k&type={$_G[gp_type]}" >{lang favorite_delete}</a>
                </div>
</li>
<!--{/loop}-->
    <!--{else}-->
    	<li class="ui-li ui-li-static ui-body-c"><div class="bm_c">{lang no_favorite_yet}</div></li>
    <!--{/if}-->
<!-- End main body template-->
</ul>
</div>		
</div>
<!-- End main body template-->
<!--{template common/footer}-->
